package com.neuqsoft.zwytj.demo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Desc描述: <br>
 * @Author: zhangfuxing
 * @Date: 2022/3/24
 **/
@Data
public class SingleStatisticDTO {
    @ApiModelProperty(value = "单笔统计接口地址")
    private String baseUrl;

    @ApiModelProperty(value = "厂商id")
    private String appId;
    @ApiModelProperty(value = "厂商签名私钥")
    private String appPrivateKey;
    @ApiModelProperty(value = "加密秘钥")
    private String encryptKey;
    @ApiModelProperty(value = "平台签名公钥")
    private String neuqPublicKey;

    @ApiModelProperty(value = "单笔统计信息")
    private ReqDataBean reqData;

    @Data
    public static class ReqDataBean {
        @ApiModelProperty(value = "唯一主键（日期+32位序列号）")
        private String reqId;
        @ApiModelProperty(value = "请求时间（yyyyMMddHHmmss）")
        private String reqTime;

        @ApiModelProperty(value = "行政区划详细（一体机所在行政区划12位到街道居委会")
        private String areaCodeDetail;
        @ApiModelProperty(value = "行政区划（一体机所在行政区划6位）")
        private String areaCode;

        @ApiModelProperty(value = "厂商应用id")
        private String appId;
        @ApiModelProperty(value = "一体机服务商名称")
        private String appName;

        @ApiModelProperty(value = "事项信息来源（0：厂商自定义，1：政务对接提供，不传默认为0）")
        private String itemSrc;
        @ApiModelProperty(value = "服务事项编号")
        private String itemId;
        @ApiModelProperty(value = "服务事项名称")
        private String itemName;
        @ApiModelProperty(value = "服务事项类型")
        private String itemType;
        @ApiModelProperty(value = "页面id（标准接入页面管理服务的服务事项页面id）")
        private String pageId;

        @ApiModelProperty(value = "访问情况（1：成功，0：失败）")
        private String visit;
        @ApiModelProperty(value = "办理结果（1：成功，0：失败）")
        private String result;
        @ApiModelProperty(value = "办理描述（备注）")
        private String desc;
    }
}
